projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d108d
)
(get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
author
Kim F. Storm
<storm@cua.dk>
Mon, 28 Aug 2006 12:03:22 +0000
(12:03 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Mon, 28 Aug 2006 12:03:22 +0000
(12:03 +0000)
Don't attempt to replace cursor on image glyphs.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 87fa20fc0643f2ab304ecbbb7ece10bb614aee61..762b6937b78723fd763a036ac576331fa0424704 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-21213,6
+21213,7
@@
get_window_cursor_type (w, glyph, width, active_cursor)
/* Use normal cursor if not blinked off. */
if (!w->cursor_off_p)
{
+#ifdef HAVE_WINDOW_SYSTEM
if (glyph != NULL && glyph->type == IMAGE_GLYPH)
{
if (cursor_type == FILLED_BOX_CURSOR)
@@
-21238,6
+21239,7
@@
get_window_cursor_type (w, glyph, width, active_cursor)
cursor_type = HOLLOW_BOX_CURSOR;
}
}
+#endif
return cursor_type;
}